﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Telecom.Data;

namespace Telecom.Service
{
    public class _listJsontoTree
    {
        public string id { get; set; }
        public string text { get; set; }
        public string type { get; set; }
        public string Idparent { get; set; }
        public string Idparent_parent { get; set; }
        public List<_listJsontoTree> children { get; set; }

        public _listJsontoTree()
        {
            children = new List<_listJsontoTree>();
        }
    }

    public class _listJsontoTree_Maps
    {
        public string id { get; set; }
        public string text { get; set; }
        public string type { get; set; }
        public string clat { get; set; }
        public string clong { get; set; }
        public List<_listJsontoTree_Maps> children { get; set; }

        public _listJsontoTree_Maps()
        {
            children = new List<_listJsontoTree_Maps>();
        }
    }


    public class _listJsontoTree_DNTB
    {
        public string id { get; set; }
        public string text { get; set; }
        public string type { get; set; }
        public string vntpSite { get; set; }
        public int ThietbiId { get; set; }
        public List<_listJsontoTree_DNTB> children { get; set; }

        public _listJsontoTree_DNTB()
        {
            children = new List<_listJsontoTree_DNTB>();
        }
    }

    public class _listJsontoTree_DNTB_IntId
    {
        public int id { get; set; }
        public string text { get; set; }
        public string type { get; set; }
        public string vntpSite { get; set; }
        public int ThietbiId { get; set; }
        public List<_listJsontoTree_DNTB_IntId> children { get; set; }

        public _listJsontoTree_DNTB_IntId()
        {
            children = new List<_listJsontoTree_DNTB_IntId>();
        }
    }
}
